package cn.xm.user.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class PhoneRegisterDto {

    // 手机号
    @NotBlank(message = "电话不能为空")
    private String phone;
    // 短信验证码
    @NotBlank(message = "短信验证码不能为空")
    private String smsCode;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "确认密码不能为空")
    private String passwordRepeat;
}
